import { HeaderRouterPath, IHeaderMenu } from '@/router/types';
import { useLocale } from '@/locales/useLocale';

// 顶部菜单
export const headerMenu = [
  {
    index: HeaderRouterPath.HOME,
    title: 'message.front.home',
  },
  {
    index: HeaderRouterPath.DATASHOW,
    title: 'message.front.dataShow',
  },
  {
    index: HeaderRouterPath.DATACOLLECTION,
    title: 'message.front.dataCollection',
    requireAuth: true,
  },
  {
    index: HeaderRouterPath.LOGIN,
    title: 'message.basic.login',
    authAfterHidden: true,
  },
] as IHeaderMenu[];
